//
//  SPDefaultAnnotation.h
//  SPMapKit
//
//  Created by zhangbo on 2017/9/8.
//  Copyright © 2017年 zhangbo. All rights reserved.
//
//  默认的指示物

#import <Foundation/Foundation.h>
#import "SPAnnotation.h"
#import "SPAnnotationView.h"

@interface SPDefaultAnnotation : NSObject<SPAnnotation>
{
    NSString *_identityKey;
}

-(instancetype) initWithLocation:(CLLocationCoordinate2D) coordinate;

@property (nonatomic, assign) CLLocationCoordinate2D coordinate;

@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *subtitle;

@end

@interface SPDefaultOverlay : SPDefaultAnnotation<SPOverlay>

@end
